package pojo;

public class User {
    //id
    private String userId;
    //姓名
    private String userName;
    //密码
    private String passWord;
    //年级
    private String gender;
    //电话
    private String phoneNumber;
    //类别
    private String type;

    public User(String userId, String userName, String passWord, String gender, String phoneNumber, String type) {
        this.userId = userId;
        this.userName = userName;
        this.passWord = passWord;
        this.gender = gender;
        this.phoneNumber = phoneNumber;
        this.type = type;
    }

    public User() {
        super();
    }

    public String getUserId() {
        return userId;
    }

    public String getUserName() {
        return userName;
    }

    public String getPassWord() {
        return passWord;
    }

    public String getGender() {
        return gender;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public String getType() {
        return type;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public void setType(String type) {
        this.type = type;
    }


    @Override
    public String toString() {
        return "User{" +
                "userId='" + userId + '\'' +
                ", userName='" + userName + '\'' +
                ", passWord='" + passWord + '\'' +
                ", gender='" + gender + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", type='" + type + '\'' +
                '}';
    }
}
